package com.wwl.cms.utils.designModeTest.mediator.smarthouse;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/9/26 15:52
 * @description:
 */
public abstract class Mediator {
    //将给中介者对象，加入到集合中
    public abstract void Register(String colleagueName,Colleague colleague);

    //接收消息，具体的同事对象发出
    public abstract void GetMessage(int stateChange,String colleagueName);

    public abstract void SendMessage();
}
